package com.ideaaedi.zoo.example.springboot.flowable.sharding.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Administrator
 * @since 1.0.0
 */
@Getter
@Setter
@TableName("ACT_HI_ATTACHMENT")
@Schema(name = "ActHiAttachmentPO", description = "附件")
public class ActHiAttachmentPO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId("ID_")
    @Schema(description = "id")
    private String id;

    @TableField("REV_")
    @Schema(description = "版本号")
    private Integer rev;

    @TableField("USER_ID_")
    @Schema(description = "用户ID")
    private String userId;

    @TableField("NAME_")
    @Schema(description = "名称")
    private String name;

    @TableField("DESCRIPTION_")
    @Schema(description = "描述")
    private String description;

    @TableField("TYPE_")
    @Schema(description = "类型")
    private String type;

    @TableField("TASK_ID_")
    @Schema(description = "任务ID")
    private String taskId;

    @TableField("PROC_INST_ID_")
    @Schema(description = "流程实例ID")
    private String procInstId;

    @TableField("URL_")
    @Schema(description = "附件地址")
    private String url;

    @TableField("CONTENT_ID_")
    @Schema(description = "字节表ID（ACT_GE_BYTEARRAY表ID）")
    private String contentId;

    @TableField("TIME_")
    @Schema(description = "附件地址")
    private Date time;
    
    @Schema(description = "日期（yyyy-MM-dd）")
    @TableField("sharding_date")
    private String shardingDate;
}
